<template>
  <div>
    <div class="ad" v-for="item in adList" :key="item.id">
      <div class="ad-left">
        <img v-lazy="item.imgUrl1" alt="" />
      </div>
      <div class="ad-right">
        <img v-lazy="item.imgUrl2" alt="" />
        <img v-lazy="item.imgUrl3" alt="" />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'AdList',
  props: {
    adList: Array
  }
}
</script>

<style lang="scss" scoped>
.ad {
  margin: 0.266667rem 0;
  display: flex;
  justify-content: space-around;
  .ad-left {
    width: 4.986667rem;
    height: 7.066667rem;
    margin-right: 0.08rem;
    img {
      width: 4.986667rem;
    }
  }
  .ad-right {
    width: 4.986667rem;
    img {
      width: 4.986667rem;
    }
  }
}
</style>
